%ion-view(hide-nav-bar="true" cache-view="false")
  %ion-header-bar.bar-furion(align-title="center")
    %button.back-button(ng-click="goBack()")
    %h1.title 修改交易密码

  %ion-content
    %wizard(hide-indicators="true")
      %wz-step
        .list.margin-top-10
          .row.item.item-input
            .col.col-25.dark-blue(style="padding-left: 11px;") 手机号
            -# %input.disabled.no-padding.margin-lr-16.text-center(type="tel" ng-model="account.phone" ng-disabled="true")
            %input.col.col-33.no-padding.margin-right-10.disabled(type="tel" ng-model="account.phone" ng-disabled="true" style="background-color: transparent")
            %a.send-code-button(ng-disabled="vcode_reject_waiting.reset_paypwd || load_status === null" on-touch="getCode()")
              {{ vcode_reject_waiting.reset_paypwd ? '再次发送(' + vcode_reject_waiting.reset_paypwd + ')' : '发送验证码' }}

        .list.margin-0.margin-top-10
          %label.item.item-input
            .input-label 验证码
            %input(ng-model="account.vcode" placeholder="请输入验证码" type="tel" ng-change="passwordChange()")

        .text-center.margin-top-20
          %button.furion-button(ng-click="nextStep()" ng-disabled="!canNextStep()") 下一步

      %wz-step
        .pwd-form.animated.fadeIn
          %h4.margin-top-100 新交易密码
          .row.pwd-input
            .col.pwd-span(ng-class="{'active': account.password.length == 0}")
              .oa-dot(ng-show="account.password.length > 0")
            .col.pwd-span(ng-class="{'active': account.password.length == 1, 'next_active': account.password.length == 0}")
              .oa-dot(ng-show="account.password.length > 1")
            .col.pwd-span(ng-class="{'active': account.password.length == 2, 'next_active': account.password.length == 1}")
              .oa-dot(ng-show="account.password.length > 2")
            .col.pwd-span(ng-class="{'active': account.password.length == 3, 'next_active': account.password.length == 2}")
              .oa-dot(ng-show="account.password.length > 3")
            .col.pwd-span(ng-class="{'active': account.password.length == 4, 'next_active': account.password.length == 3}")
              .oa-dot(ng-show="account.password.length > 4")
            .col.pwd-span(ng-class="{'active': account.password.length == 5, 'next_active': account.password.length == 4}")
              .oa-dot(ng-show="account.password.length > 5")

  .input-footer(ng-if="showPwdPad")
    .row
      %a.button.col(ng-click="pushPwd(1)") 1
      %a.button.col(ng-click="pushPwd(2)") 2
      %a.button.col(ng-click="pushPwd(3)") 3
    .row
      %a.button.col(ng-click="pushPwd(4)") 4
      %a.button.col(ng-click="pushPwd(5)") 5
      %a.button.col(ng-click="pushPwd(6)") 6
    .row
      %a.button.col(ng-click="pushPwd(7)") 7
      %a.button.col(ng-click="pushPwd(8)") 8
      %a.button.col(ng-click="pushPwd(9)") 9
    .row
      %a.col.button-disabled
      %a.button.col(ng-click="pushPwd(0)") 0
      %a.col.button-icon-back(ng-click="popPwd()")
        %i
